local WINDOW_WIDTH = 1920
local WINDOW_HEIGHT = 1080

local x, y = 1, 1
local dx, dy = 500, 500

function update(delta_time)
    x = x + dx * delta_time
    y = y + dy * delta_time
    if x > WINDOW_WIDTH then dx = -dx end
    if y > WINDOW_HEIGHT then dy = -dy end
    if x < 0 then dx = -dx end
    if y < 0 then dy = -dy end
    --print("Update", x, y)
    set_player_pos(x, y)
end

function render()
    
end